﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MrdocUtils.Model
{
    public class Chapter
    {
        public string Title;
        public string ChapterPath;
        public int Id;
        public List<Chapter> Chirden = new List<Chapter>();
    }

    public class Book
    {

        public string BookName { set; get; }
        public string Description { set; get; }
        public int Role { set; get; } = 1;
        public List<Chapter> Chapters { set; get; } = new List<Chapter>();

        public Book(string bookName, string desc = "", int role = 1)
        {
            BookName = bookName;
            Description = desc;
            Role = role;
        }
    }
}
